<html>
    <head>
        <meta charset="utf-8">
        <title>上海建桥学院</title>
    </head>
    <body>


    <script type="text/javascript">
        //弹出框
        //alert("我是弹出框！");
        var int_ = 10;
        var str_ = "10";
        //确认框
        var choice  = window.confirm("单击“确定”继续。单击“取消”停止。");
        if(choice){
            console.log(1);
        } else{
            console.log(2);
        }
        //输入框
//        var value = window.prompt("欢迎？","请在此输入您的姓名。");
//        alert(value);
    </script>
    </body>

</html>